﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02001139 RID: 4409
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class SetClientPausedCsReq : IMessage<SetClientPausedCsReq>, IMessage, IEquatable<SetClientPausedCsReq>, IDeepCloneable<SetClientPausedCsReq>, IBufferMessage
	{
		// Token: 0x170037D7 RID: 14295
		// (get) Token: 0x0600C556 RID: 50518 RVA: 0x002153E4 File Offset: 0x002135E4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<SetClientPausedCsReq> Parser
		{
			get
			{
				return SetClientPausedCsReq._parser;
			}
		}

		// Token: 0x170037D8 RID: 14296
		// (get) Token: 0x0600C557 RID: 50519 RVA: 0x002153EB File Offset: 0x002135EB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return SetClientPausedCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170037D9 RID: 14297
		// (get) Token: 0x0600C558 RID: 50520 RVA: 0x002153FD File Offset: 0x002135FD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return SetClientPausedCsReq.Descriptor;
			}
		}

		// Token: 0x0600C559 RID: 50521 RVA: 0x00215404 File Offset: 0x00213604
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SetClientPausedCsReq()
		{
		}

		// Token: 0x0600C55A RID: 50522 RVA: 0x0021540C File Offset: 0x0021360C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SetClientPausedCsReq(SetClientPausedCsReq other) : this()
		{
			this.paused_ = other.paused_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600C55B RID: 50523 RVA: 0x00215431 File Offset: 0x00213631
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SetClientPausedCsReq Clone()
		{
			return new SetClientPausedCsReq(this);
		}

		// Token: 0x170037DA RID: 14298
		// (get) Token: 0x0600C55C RID: 50524 RVA: 0x00215439 File Offset: 0x00213639
		// (set) Token: 0x0600C55D RID: 50525 RVA: 0x00215441 File Offset: 0x00213641
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Paused
		{
			get
			{
				return this.paused_;
			}
			set
			{
				this.paused_ = value;
			}
		}

		// Token: 0x0600C55E RID: 50526 RVA: 0x0021544A File Offset: 0x0021364A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as SetClientPausedCsReq);
		}

		// Token: 0x0600C55F RID: 50527 RVA: 0x00215458 File Offset: 0x00213658
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(SetClientPausedCsReq other)
		{
			return other != null && (other == this || (this.Paused == other.Paused && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600C560 RID: 50528 RVA: 0x00215488 File Offset: 0x00213688
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Paused)
			{
				num ^= this.Paused.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600C561 RID: 50529 RVA: 0x002154C7 File Offset: 0x002136C7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600C562 RID: 50530 RVA: 0x002154CF File Offset: 0x002136CF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600C563 RID: 50531 RVA: 0x002154D8 File Offset: 0x002136D8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Paused)
			{
				output.WriteRawTag(96);
				output.WriteBool(this.Paused);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600C564 RID: 50532 RVA: 0x0021550C File Offset: 0x0021370C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Paused)
			{
				num += 2;
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600C565 RID: 50533 RVA: 0x0021553E File Offset: 0x0021373E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(SetClientPausedCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Paused)
			{
				this.Paused = other.Paused;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600C566 RID: 50534 RVA: 0x0021556F File Offset: 0x0021376F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600C567 RID: 50535 RVA: 0x00215578 File Offset: 0x00213778
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 96U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.Paused = input.ReadBool();
				}
			}
		}

		// Token: 0x04004F83 RID: 20355
		private static readonly MessageParser<SetClientPausedCsReq> _parser = new MessageParser<SetClientPausedCsReq>(() => new SetClientPausedCsReq());

		// Token: 0x04004F84 RID: 20356
		private UnknownFieldSet _unknownFields;

		// Token: 0x04004F85 RID: 20357
		public const int PausedFieldNumber = 12;

		// Token: 0x04004F86 RID: 20358
		private bool paused_;
	}
}
